<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{$G[title]} - {$G[setting][sitename]}</title>
<meta name="keywords" content="{$G[keywords]}">
<meta name="description" content="{$G[description]}">
<link rel="icon" href="/static/images/common/favicon.ico">
<link rel="stylesheet" type="text/css" href="/static/css/common.css">
<link rel="stylesheet" type="text/css" href="/static/css/account.css">
<script src="/static/js/jquery.js" type="text/javascript"></script>
<script src="/static/js/common.js" type="text/javascript"></script>
<script src="/static/js/jquery.form.js" type="text/javascript"></script>
<script src="/static/js/jquery.dsxui.js" type="text/javascript"></script>
<script src="/static/js/jquery-ui-1.10.4.custom.min.js" type="text/javascript"></script>
</head>
<body>
<div class="header-hd">
	<div class="area header">
    	<div class="topnav">
        	 <div class="menu"><a href="/">星微首页</a></div>
            {if $G[islogined]}
            <div class="menu"><a href="/?m=account">个人中心</a></div>
            {if $G[member][admincp]}<div class="menu"><a href="/?m=admin&c=login">后台管理</a></div>{/if}
            <div class="menu"><a href="/?m=member&c=logout">安全退出</a></div>
            {else}
            <div class="menu"><a href="/?m=member&c=login">登录</a></div>
            <div class="menu"><a href="/?m=member&c=register">注册</a></div>
            {/if}
            <div class="menu"><a href="/?m=goods&c=cart">购物车</a></div>
            <div class="menu"><a href="/?m=member&c=order">我的订单</a></div>
            <div class="menu"><a href="/?m=seller">我是商家</a></div>
            <div class="menu"><a href="/?m=member&c=favorite">我的收藏</a></div>
            <div class="menu"><a href="/?m=about">关于星微</a></div>
        </div>
    	<a href="/?m=events&c=app"><i class="icon">&#xf00a2;</i>手机版</a>
    </div>
</div>

<div class="navHD">
	<div class="area mainNav">
        <ul id="navUL">
           <li{if $G[m]=='home'} class="cur"{/if}><a href="/">星微首页</a></li>
           <li{if $G[m]=='lianmeng'} class="cur"{/if}><a href="/?m=lianmeng">联盟商家</a></li>
           <li{if $G[m]=='market'} class="cur"{/if}><a href="/?m=market">区域超市</a></li>
           <li{if $G[m]=='about'} class="cur"{/if}><a href="/?m=about">关于星微</a></li>
        </ul>
    </div>
</div>

<div class="blank"></div>
<div class="area">
	<div class="leftNav">
    	<h3 class="title"><a href="/?m=account">个人中心</a></h3>
    	<ul class="menu" id="leftMenu">
            <li><a href="/?m=$G[m]&c=order" id="menu_order">全部订单</a></li>
            <li><a href="/?m=$G[m]&c=fan" id="menu_fan">排队分红</a></li>
            <li><a href="/?m=$G[m]&c=score" id="menu_score">星币兑换</a></li>
            <li><a href="/?m=$G[m]&c=favorite" id="menu_favorite">我的收藏</a></li>
            <li><a href="/?m=$G[m]&c=recharge" id="menu_recharge">账户充值</a></li>
            <li><a href="/?m=$G[m]&c=user" id="menu_user">修改资料</a></li>
            <li><a href="/?m=$G[m]&c=bind" id="menu_bind">账户绑定</a></li>
            <li><a href="/?m=$G[m]&c=safe" id="menu_safe">账号安全</a></li>
        </ul>
    </div>
    <script type="text/javascript">
    $("#menu_$G[c]").addClass('cur');
    </script>